package com.tech.platform.cms.authz.sso.exception;

public class NoSuchClientException extends RuntimeException{

    private Integer code;
    private String errorMessage;

    public NoSuchClientException() {
        super("找不到对于的子系统！");
        this.code = 500;
        this.errorMessage = "找不对对于的子系统！";
    }

    public NoSuchClientException(Exception exception) {
        super(exception.getMessage());
        this.code = 500;
        this.errorMessage = exception.getMessage();
    }
}
